// 定义某个表的querySchema
// schema的结构和含义参考下面的例子
// 注意: 所有的key不能重复

module.exports = [
  {
    key: 'dealNum',
    title: '交易编号1321',
    dataType: 'varchar',
    placeholder: '请输入',
  },{
    key: 'type',
    title: '交易类型',
    showType:"select",
    options:[{
      value:"100",
      name:"充值"
    },{
      value:"101",
      name:"金额提现"
    },{
      value:"200",
      name:"展馆订单支付"
    },{
      value:"300",
      name:"活动订单支付"
    },{
      value:"400",
      name:"电影订单支付"
    },{
      value:"1000",
      name:"退款"
    },
    ],
  },{
    key: 'name',
    title: '交易名称',
    dataType: 'varchar',
    placeholder: '请输入',
  },{
    key: 'status',
    title: '交易状态',
    showType:"select",
    options:[{
      value:"0",
      name:"创建"
    },{
      value:"1",
      name:"审核中"
    },{
      value:"-1",
      name:"未通过"
    },{
      value:"10",
      name:"完成"
    },
    ],
  },{
    key: 'platform',
    title: '付款方式',
    showType:"select",
    options:[{
      value:"ALI",
      name:"支付宝"
    },{
      value:"WX",
      name:"微信"
    },{
      value:"YE",
      name:"余额"
    },{
      value:"BK",
      name:"银行卡"
    },
    {
      value:"POS",
      name:"POS机"
    },
    {
      value:"SYS",
      name:"系统"
    },
    {
      value:"BATCH",
      name:"分批"
    },
    ],
  },{
    key: 'userName',
    title: '场馆',
    dataType: 'varchar',
    placeholder: '请输入',
  },{
    key: 'userNick',
    title: '用户昵称',
    dataType: 'varchar',
    placeholder: '请输入',
  },{
    key: 'createdAt',
    title: '创建时间',
    dataType: 'datetime',
    showType: 'between',
  }, {
    key: 'orderNumber',
    title: '预约编号',
    dataType: 'varchar',
    placeholder: '请输入',
  }
];
